package org.jeecg.modules.yinsheng.command.protocolpay;

import java.io.Serializable;

import org.jeecg.modules.yinsheng.annotation.NotBlank;
import org.jeecg.modules.yinsheng.annotation.NotNull;
import org.jeecg.modules.yinsheng.annotation.Valid;
import org.jeecg.modules.yinsheng.command.quickpayment.ConsigneeInfoCommand;
import org.jeecg.modules.yinsheng.command.quickpayment.MerSubMerchantInfoCommand;
import org.jeecg.modules.yinsheng.command.quickpayment.OnlineOrderMsgCommand;

/**
 * @ClassName CreateProtocolReqCommand
 * @Description 创建协议订单和登记明细
 * @Author linxl
 * @Date 2021/6/4 17:45
 * @Version 1.0
 */

public class CreateProtocolReqCommand implements Serializable {
	private static final long serialVersionUID = -1658388181325965657L;

	// 快捷支付参数
	@Valid
	@NotNull(message = "快捷支付参数不能为空")
	private ProtocolFastToPayMsgCommand fastToPayMsg;

	// 线上订单信息
	@Valid
	@NotNull(message = "线上订单信息不能为空")
	private OnlineOrderMsgCommand onlineOrderMsg;

	// 收货人信息
	private ConsigneeInfoCommand consigneeInfo;

	// 二级商户信息
	private MerSubMerchantInfoCommand merSubMerchantInfo;

	// 订单备注 (必填)
	@NotBlank(message = "订单备注不能为空")
	private String remark;

	public ProtocolFastToPayMsgCommand getFastToPayMsg() {
		return fastToPayMsg;
	}

	public void setFastToPayMsg(ProtocolFastToPayMsgCommand fastToPayMsg) {
		this.fastToPayMsg = fastToPayMsg;
	}

	public OnlineOrderMsgCommand getOnlineOrderMsg() {
		return onlineOrderMsg;
	}

	public void setOnlineOrderMsg(OnlineOrderMsgCommand onlineOrderMsg) {
		this.onlineOrderMsg = onlineOrderMsg;
	}

	public ConsigneeInfoCommand getConsigneeInfo() {
		return consigneeInfo;
	}

	public void setConsigneeInfo(ConsigneeInfoCommand consigneeInfo) {
		this.consigneeInfo = consigneeInfo;
	}

	public MerSubMerchantInfoCommand getMerSubMerchantInfo() {
		return merSubMerchantInfo;
	}

	public void setMerSubMerchantInfo(MerSubMerchantInfoCommand merSubMerchantInfo) {
		this.merSubMerchantInfo = merSubMerchantInfo;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
